<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>filter()方法</title>
		<script>
			let arrJson=[
		　　　　{language:'web',price:54},
		　　　　{language:'C++',price:87},
				{language:'json',price:63},
				{language:'ES6',price:99},
			]
			let arrResult=arrJson.filter(item=>item.price>=65)
			for(var key in arrResult){
				console.log(key+": 语言"+arrResult[key].language+",价格"+arrResult[key].price);
			}
				
		</script>
	</head>
	<body>
	</body>
</html>
